package com.jial08.designpatterns.decorate.decorator;

import com.jial08.designpatterns.decorate.Pancake;
import com.jial08.designpatterns.decorate.AbstractPancakeDecorator;

/**
 * <p>类描述：生菜装饰器。</p>
 *
 * @author jl
 * @version v1.0.0.1。
 * @since JDK1.8。
 * <p>创建日期：2019/10/17 下午1:06。</p>
 */
public class LettuceDecoratorAbstract extends AbstractPancakeDecorator {
	public LettuceDecoratorAbstract(Pancake pancake) {
		super(pancake);
	}

	@Override
	public void cook() {
		System.out.println("加生菜");
		super.cook();
	}
}
